package com.bh.order.service;

import com.bh.kysys.domain.JcSysOrganization;
import com.bh.ledger.domain.JcLedgerDetail;
import com.bh.order.domain.JcOrder;
import com.bh.order.domain.JcOrderProduct;
import com.bh.order.domain.JcOrderReceivingParty;
import com.bh.order.vo.JcOrderImportVo;

import java.util.List;

/**
 * 订单Service接口
 *
 * @author slx
 * @date 2023-04-22
 */
public interface IJcOrderHandleService {

    public void handleOrderBarcode(JcOrder jcOrder, List<JcOrderProduct> orderProducts);


    public void handleFromAndToAddress(JcOrderImportVo importVo, JcSysOrganization organization, JcOrder order);


    public void handleAddLedgerDetail(JcOrder jcOrder, String addressType);

    // 保存目的地址
    public void handyRp(JcOrderReceivingParty orderReceivingParty, Long jcToOrganizationId, Long customerId, Long serverZoneId);
}
